<?xml version="1.0" encoding="UTF-8"?>
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui">

	<p:growl id="growlPaymentReport" showDetail="false" globalOnly="true" life="6000" autoUpdate="true" />
	<p:dialog header="#{msg.header_payment_report}" widgetVar="paymentReportModal" modal="true"
			resizable="false" width="300" id="paymentReportModal" height="auto">
		
		<p:outputLabel value="Informe o período"></p:outputLabel>
		<h:panelGrid columns="4" id="paymentReport">
			<h:form id="formPaymentReport">
				<p:outputLabel value="Data Inicial" 
							   styleClass="labelsPanelGrid" />
				
				<p:calendar id="initialDate" 
							value="#{relatorioPagamentoController.initalDate}" />
							
				<p:outputLabel value="Data Final" 
								styleClass="labelsPanelGrid" />
				
				<p:calendar id="endDate"
							value="#{relatorioPagamentoController.endDate}"/>
				<p:commandButton value="Gerar Relatório" 
								 action="#{relatorioPagamentoController.showReport}" 
								 ajax="false"/>
			
			</h:form>
		</h:panelGrid>
	
	</p:dialog>
</ui:composition>